package org.jeecg.modules.service;


import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.entity.DbProject;
import org.jeecg.modules.entity.vo.DbProjectVo;

/**
 * @Description: db_project
 * @Author: jeecg-boot
 * @Date:   2024-06-26
 * @Version: V1.0
 */
public interface IDbProjectService extends IService<DbProject> {

    boolean add(DbProject dbProject);

    void updateAndFileById(DbProject dbProject);
    /**
     *   通过id删除
     *
     * @param id
     * @return
     */
    void deleteById(String id);
    /**
     *  批量删除
     *
     * @param ids
     * @return
     */
    void deleteBatch(String ids);
    /**
     * 通过id查询
     *
     * @param id
     * @return
     */
    DbProjectVo queryById(String id);
}
